<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="format-detection" content="telephone=no">
    #parse("/h5/common/webWords.html")
<link rel="stylesheet" type="text/css" href="http://${staticHost}/css/medioadaption.css">
<link rel="stylesheet" type="text/css" href="http://${staticHost}/css/stcss.css">
<script type="text/javascript" src="http://${staticHost}/js/jquery.js"></script>
<script type="text/javascript" src="http://${staticHost}/js/continuingEducation.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script><script src="http://${staticHost}/js/layer.js"></script>

    <script type="text/javascript">
        function showMessage(msg){
            layer.open({
                content: msg
                ,btn: '关闭'
            });
        }
    $(document).ready(function(){

        $("#addCollege").click(function () {
            var cheCkcollege = true;
            var college = $("#college").val();
            if(college == ""){
                cheCkcollege = false;
                $("#collegeDiv").text("请输入学院名称");
            }
            if(cheCkcollege){
                $.ajax({
                    type:'post',
                    url:'${requestHost}/edu/public/addCollege',
                    contentType:'application/x-www-form-urlencoded; charset=utf-8',
                    data:{
                        college:college
                    },
                    success: function (result) {
                        if(result.status == '00000000'){
                            showMessage("添加成功");
                            window.location.href="/";
                        }else{
                            showMessage(result.message);
                        }

                    }
                })
            }
        });
    });

</script>
</head>


<body style="background-color:#f8f8f8;">
<div class="dlny clear">
   <dl>
      <dt><a href="/edu/auth/toEditHeadprotrait"><img src="${headPortrait}"></a></dt>
      <dd>
         <span><a href="/edu/auth/toEditStudentInfo">[修改]</a></span>
         [${studentName}] ${mood}
      </dd>
   </dl>
</div>
<div class="login-box">
    <input type="hidden" value="${toUrl}" id="toUrl">
    <div class="login-box-width">
        <ul>
            <li>
                <div class="form-box clearfix">
                    <input type="text" id="college" placeholder="请输入学院名称">
                </div>
                <div class="collegeDiv"></div>
            </li>
        </ul>
    </div>
    <div class="md_dl"><input name="" id="addCollege" type="image" src="http://${staticHost}/images/zhuanzheng.jpg" style="width:290px; height:42px; border:none; margin-top:20px; margin-bottom:30px;" /></div>
</div>




<div class="holderdiv"></div>
<div class="fixdiv">
  <ul>               
	<li><a href="javascript:void(0)" onclick="window.history.go(-1)"><img src="http://${staticHost}/images/foticon001.jpg"><span>返回</span></a></li>
    <li><a href="/edu/auth/modifyPwd"><img src="http://${staticHost}/images/foticon004.jpg"><span>重置密码</span></a></li>
<li><a href="javascript:void(0)" onclick="loginOut()"><img src="http://${staticHost}/images/foticon003.jpg"><span>退出系统</span></a></li>
  </ul>
</div>

</body>
</html>